﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Registrar
{
    public class Student
    {
        public int StudentID
        {
            get;
            set;
        }
        public string FName
        {
            get;
            set;
        }
        public string LName
        {
            get;
            set;
        }

        private List<Course> _courses;
        public List<Course> Courses
        {
            get
            {
                if (_courses == null)
                    _courses = new List<Course>();

                return _courses;
            }
            set
            {
                _courses = value;
            }
        }
    }
}
